<?php

namespace App\Models\Service;

use App\Models\BaseModel;

/**
 * App\Models\Service\EmailVerify
 *
 * @property int $id
 * @property string $email 邮箱
 * @property string $token 令牌
 * @property string $end_time 有效期
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
 * @property-read int|null $notifications_count
 * @method static \Illuminate\Database\Eloquent\Builder|EmailVerify newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|EmailVerify newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|EmailVerify query()
 * @method static \Illuminate\Database\Eloquent\Builder|EmailVerify whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|EmailVerify whereEmail($value)
 * @method static \Illuminate\Database\Eloquent\Builder|EmailVerify whereEndTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|EmailVerify whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|EmailVerify whereToken($value)
 * @method static \Illuminate\Database\Eloquent\Builder|EmailVerify whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class EmailVerify extends BaseModel
{
    protected $table ='email_verify';
    public $timestamps = true;
    protected $fillable = ['username','email','token','end_time'];  //设置允许写入的字段
}
